In RFEM, you can simulate a scaffolding tube joint (butt joint with a stub) by a nonlinear member release of the "Scaffolding" type. The joint considers moment resistance dependent on compression forces existing between two outer tubes, and the stub also has certain moment resistance based on its bending resistance.